package com.power.model;

import com.power.domain.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description 订单确认参数
 * @Author dingchunlin
 * @Date 2024/07/25 10:43
 * @Version 1.0.0
 */
@ApiModel(value = "订单确认参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderConfirmParam {

    /**
     * 接收请求来自商品详情页面的参数
     */
    @ApiModelProperty(value = "订单商品条目对象")
    private OrderItem orderItem;


    /**
     * 接收请求来自购物车的ID列表参数
     */
    @ApiModelProperty(value = "购物车ID列表")
    private List<Long> basketIds;


}
